// 处理分页数据长度
module.exports = ({ currentPage, currentSize }) => currentPage === 1 ? 0 : (currentPage - 1) * currentSize
